package br.org.alexegidio.persistence;

import java.util.List;

public interface GenericDAO<T> {

	T save(T newInstance);

	T load(Long id);

	List<T> listAll();

	boolean update(T transientObject);

	boolean delete(T persistentObject);

	List<T> listByExample(T example, String[] excludeProperties);

}
